Sequence of functions formula